import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * Author:  LiuTao
 * Version: 1.0
 * Date:    2023-10-11  20:43
 */
public class Test {
    public static void main(String[] args) {
        CardDemo cardDemo = new CardDemo();
        List<Card> cardList= cardDemo.buyCard();
        System.out.println("买的牌如下：");
        System.out.println(cardList);
        System.out.println("洗牌如下：");
        cardDemo.shuffle(cardList);
        System.out.println(cardList);
        System.out.println("抓牌如下：");
        cardDemo.getCard(cardList);

    }
}
